package com.softeem.dao;

import java.util.List;

import com.softeem.model.Reservoir;

public interface IReservoirDao {
	
	  
	    public int queryReservoirCount();
	    
	    public List<Reservoir> queryReservoirs(Reservoir r);
	    
	    /**
	     * 根据水库id查询水库
	     * @param Reservoirid
	     * @return
	     */
	    public Reservoir queryReservoirById(int Reservoirid);
	    
	    /**
	     * 新增水库
	     * @param Reservoir
	     * @return
	     */
	    public int insertReservoir(Reservoir Reservoir);
	    
	    /**
	     * 修改水库
	     * @param Reservoir
	     * @return
	     */
	    public int updateReservoir(Reservoir Reservoir);
	    
	    /**
	     * 根据水库id删除水库
	     * @param Reservoir_id
	     * @return
	     */
	    public int deleteReservoirById(int Reservoir_id);

}
